package request

type ArticleAdd struct {
	Name    string `form:"name"`
	Content string `form:"content"`
}
type ArticleReview struct {
	UserId    int    `form:"user_id" binding:"required" `    // 用户id
	ArticleId int    `form:"article_id" binding:"required" ` // 文章id
	Context   string `form:"context" binding:"required" `    // 评论内容
}
type ArticleReview1 struct {
	UserId    int    `form:"user_id" binding:"required" `                   // 用户id
	ArticleId int    `form:"article_id" binding:"required" `                // 文章id
	FatherId  int    `form:"father_id" json:"father_id" binding:"required"` // 父级id
	Context   string `form:"context" binding:"required" `                   // 评论内容
}
type ArticleHistory struct {
	UserId    int `form:"user_id" json:"user_id" binding:"required"`
	ArticleId int `form:"article_id" json:"article_id" binding:"required"`
}
type ArticleGood struct {
	UserId    int `form:"user_id" json:"user_id" binding:"required"`
	ArticleId int `form:"article_id" json:"article_id" binding:"required"`
}
